using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.User
{
    public class UserSIR
    {
        public UserSIR()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        //common field name
        private Int64 _sirid;
        private string _fullname;
        private string _email;
        private Int16 _carrenewalmonth;
        private Int16 _parenewalmonth;
        private Int16 _medicalrenewalmonth;
        private bool _status;
        private DateTime _createddate;

        public Int64 SIRID
        {
            get { return _sirid; }
            set { _sirid = value; }
        }

        public string FullName
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public Int16 CarRenewalMonth
        {
            get { return _carrenewalmonth; }
            set { _carrenewalmonth = value; }
        }

        public Int16 PARenewalMonth
        {
            get { return _parenewalmonth; }
            set { _parenewalmonth = value; }
        }

        public Int16 MedicalRenewalMonth
        {
            get { return _medicalrenewalmonth; }
            set { _medicalrenewalmonth = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }


        public void ClearFields()
        {
            _sirid = 0;
            _fullname = "";
            _email = "";
            _carrenewalmonth = 0;
            _parenewalmonth = 0;
            _medicalrenewalmonth = 0;
            //common field name
            _status = false;
            _createddate = CE.Global.General.GetUTCDateTime();

            
        }

    }
}
